﻿Public Class Canvas : Inherits UIPanel

	Public Overrides Sub Resize(Rectangle As System.Drawing.Rectangle)
		MyBase.Resize(Rectangle)
		Dim R = ContentRectangle
		For Each Child In Children
			Child.Resize(New Rectangle(R.Left + Child.Indent.X, R.Top + Child.Indent.Y, Child.Width, Child.Height))
		Next
	End Sub

End Class
